Inplace Algorithm for Priority Search Tree and its use in Computing Largest Empty Axis-Parallel Rectangle

نویسندگان

  • Minati De
  • Subhas C. Nandy
چکیده

There is a high demand of space-efficient algorithms in builtin or embedded softwares. In this paper, we consider the problem of designing space-efficient algorithms for computing the maximum area empty rectangle (MER) among a set of points inside a rectangular region R in 2D. We first propose an inplace algorithm for computing the priority search tree with a set of n points in R using O(logn) extra bit space in O(n logn) time. It supports all the standard queries on priority search tree in O(log n) time. We also show an application of this algorithm in computing the largest empty axis-parallel rectangle. Our proposed algorithm needs O(n log n+m) time and O(logn) work-space apart from the array used for storing n input points. Here m is the number of maximal empty rectangles present in R. Finally, we consider the problem of locating the maximum area empty rectangle of arbitrary orientation among a set of n points, and propose an O(n logn) time in-place algorithm for that problem.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Algorithm for finding the largest inscribed rectangle in polygon

In many industrial and non-industrial applications, it is necessary to identify the largest inscribed rectangle in a certain shape. The problem is studied for convex and non-convex polygons. Another criterion is the direction of the rectangle: axis aligned or general. In this paper a heuristic algorithm is presented for finding the largest axis aligned inscribed rectangle in a general polygon. ...

متن کامل

Largest Empty Axis-Parallel Rectangular Annulus

In Euclidean plane, a rectangular annulus is the region between parallel rectangles such that the smaller rectangle lies wholly inside the outer rectangle. Given a set P of n points in the two dimensional plane, we propose O(n) time and O(n) space algorithm to identify an axis-parallel largest empty annulus amidst the points of P . We are not aware of any published work on this problem. To the ...

متن کامل

Finding the Largest Empty Rectangle Containing Only a Query Point in Large Multidimensional Databases

Given a two-dimensional space, let S be a set of points stored in an R-tree, let R be the minimum rectangle containing the elements of S, and let q be a query point such that q / ∈ S and R ∩ q 6= ∅. In this paper, we present an algorithm for finding the empty rectangle with the largest area, sides parallel to the axes of the space, and containing only the query point q. The idea behind algorith...

متن کامل

Perfect vector sets, properly overlapping partitions, and largest empty box

We revisit the following problem (along with its higher dimensional variant): Given a set S of n points inside an axis-parallel rectangle U in the plane, find a maximum-area axis-parallel sub-rectangle that is contained in U but contains no points of S. (I) We present an algorithm that finds a large empty box amidst n points in [0, 1]: a box whose volume is at least log d 4(n+log d) can be comp...

متن کامل

Finding the Maximal Empty Rectangle Containing a Query Point

Let P be a set of n points in an axis-parallel rectangle B in the plane. We present an O(nα(n) log n)-time algorithm to preprocess P into a data structure of size O(nα(n) log n), such that, given a query point q, we can find, in O(log n) time, the largest-area axis-parallel rectangle that is contained in B, contains q, and its interior contains no point of P . This is a significant improvement ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1104.3076  شماره 

صفحات  -

تاریخ انتشار 2011